For some reason that JSON structure was accepted only once, then i getting Bad Req again
Posts
Search Results
General Discussion » Posting API » Post 1
I figured minimal json structure
{
"image":
{
"image_height":"N",
"image_width":"N",
"tag_input":"*tags*"
},
"url":"https://*urlfromfreehosting*.png"
}
General Discussion » Posting API » Topic Opener
Hello, can someone help me with the API for posting images?
I’ve sending json by curl (POST)
curl.exe -X POST -H “Content-Type: application/json” -d @json.json https://tantabus.ai/api/v1/json/images?key=myApiKey
{
"image":
{
"tag_input":"*tags*"
},
"url":"https://*urlfromfreehosting*.png"
}
I’ve getting Bad Request.
What i did wrong?
Showing results 1 - 3 of 3 total
Default search
If you do not specify a field to search over, the search engine will search for posts with a body that is similar to the query's word stems. For example, posts containing the words winged humanization, wings, and spread wings would all be found by a search for wing, but sewing would not be.
Allowed fields
| Field Selector | Type | Description | Example |
|---|---|---|---|
author | Literal | Matches the author of this post. Anonymous authors will never match this term. | author:Joey |
body | Full Text | Matches the body of this post. This is the default field. | body:test |
created_at | Date/Time Range | Matches the creation time of this post. | created_at:2015 |
id | Numeric Range | Matches the numeric surrogate key for this post. | id:1000000 |
my | Meta | my:posts matches posts you have posted if you are signed in. | my:posts |
subject | Full Text | Matches the title of the topic. | subject:time wasting thread |
topic_id | Literal | Matches the numeric surrogate key for the topic this post belongs to. | topic_id:7000 |
topic_position | Numeric Range | Matches the offset from the beginning of the topic of this post. Positions begin at 0. | topic_position:0 |
updated_at | Date/Time Range | Matches the creation or last edit time of this post. | updated_at.gte:2 weeks ago |
user_id | Literal | Matches posts with the specified user_id. Anonymous users will never match this term. | user_id:211190 |
forum | Literal | Matches the short name for the forum this post belongs to. | forum:meta |