MMEX4Web
Moderator: Renato
-
Speranskiy
- New User
- Posts: 1
- Joined: Wed Aug 10, 2016 12:50 pm
- Are you a spam bot?: No
Post
by Speranskiy »
Hi there!
I think it's pretty much simple question, but it didn't work what I tried.
Is there a way to insert transactions using curl?
I've tried
Code: Select all
curl --data "TransactionDate=2016-08-10&TransactionStconciled&TransactionType=Withdrawal&TransactionAccount=AccauntName&TransactionPayee=PayeeName&TransactionCategory=CategoryName&TransactionSubCategory=None&TransactionAmount=100000" http://www.my.mmex.server/new_transaction.php
with no luck. Any clues would be highly appreciated!
-
GabrieleV
- Developer
- Posts: 158
- Joined: Wed Apr 09, 2014 7:45 pm
- Are you a spam bot?: No
- Location: Italy
Post
by GabrieleV »
Currently it's not possible, it's read-only
-
guangong
- Developer
- Posts: 657
- Joined: Wed Dec 21, 2011 5:58 am
- Are you a spam bot?: No
Post
by guangong »
maybe you have interesting on
/api/v1/sql
-
GabrieleV
- Developer
- Posts: 158
- Joined: Wed Apr 09, 2014 7:45 pm
- Are you a spam bot?: No
- Location: Italy
Post
by GabrieleV »
Sorry @Speranskiy I was thinking that you were trying to use lisheng API, instead it's WebApp..
With WebApp it's possible, but you need to use insert.php, not new_transaction.php
(check insert.php file for field name/details)
Let me know if you have other troubles.
Users browsing this forum: Claude [Bot] and 2 guests