Insert transactions using curl

Page 1 of 1
4 posts
Insert transactions using curl

Speranskiy
New MMEX User

Posts: 1
Joined: Wed Aug 10, 2016 6:50 am
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!
Re: Insert transactions using curl
User avatar
GabrieleV
MMEX Developer

Posts: 258
Joined: Wed Apr 09, 2014 1:45 pm
Location: Italy
Currently it's not possible, it's read-only
Re: Insert transactions using curl

guanlisheng
MMEX Developer

Posts: 274
Joined: Tue Dec 20, 2011 11:58 pm
Location: China
maybe you have interesting on /api/v1/sql
Re: Insert transactions using curl
User avatar
GabrieleV
MMEX Developer

Posts: 258
Joined: Wed Apr 09, 2014 1:45 pm
Location: Italy
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.
Page 1 of 1
Who is online

Users browsing this forum: No registered users and 1 guest