- Jun 6, 2020
- 11,593
- 4,507
Hey guys, hope you're doing well.
I want to create an application to post some JSON data to an endpoint and get a field from the returned response. Whenever I click the button it takes back with the "Bad Request" error and says that two "title" and "script" fields are required. (I've already filled them up)
It really ticks me off. The endpoint takes two required fields. Title and Script. (It also takes some optional fields)
In spite, I made a completed JSON variable, it does not work.
Here is my code:
B4X:
This is...
I want to create an application to post some JSON data to an endpoint and get a field from the returned response. Whenever I click the button it takes back with the "Bad Request" error and says that two "title" and "script" fields are required. (I've already filled them up)
It really ticks me off. The endpoint takes two required fields. Title and Script. (It also takes some optional fields)
In spite, I made a completed JSON variable, it does not work.
Here is my code:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید