Bitcoin Co. Ltd.
Bitcoin Co. Ltd.
I am having this same issue, when trying to post a contract it simply returns: ``` { "reason": "", "success": false } ``` How to debug this? The debug.log does...
Here's the really basic example that I'm POSTing (no special characters). `expiration_date=&metadata_category=physical%20good&title=TestProduct&description=This%20is%20a%20test%20proudct%20do%20not%20buy%20it¤cy_code=USD&price=9.99&nsfw=&process_time=1-2%20business%20days` If I remove any more fields it will start to give a reason (ie remove the expiration_date and...
@hoffmabc has given a working CURL request on reddit; which I can confirm does work: `curl -H "Cookie: TWISTED_SESSION=9722f2ed04cfabba15fdf9d8ef42f50f" -X POST -d "expiration_date=&metadata_category=hysical%20good&title=AWESOME&description=Test%20Description¤cy_code=BTC&price=0.0015&process_time=1&nsfw=false&terms_conditions=&returns=&shipping_currency_code=BTC&shipping_domestic=0&shipping_international=0&category=&condition=New&sku=&images=5f4cd3e4304a5da50992ac077cf319543da89625&free_shipping=true&moderators=[]&keywords=['test']&contract_id=&ships_to=UNITED_STATES&shipping_origin=UNITED_STATES" http://localhost:18469/api/v1/contracts`
Ok, found my problem...fields with a true/false bool I had them empty for false, when it needed to string 'false' Example (this): `nsfw=false&free_shipping=false` And NOT this: `nsfw=&free_shipping=`