How To Make A POST Request With ORDS?
I want to insert a new item with a POST request in ORDS application express. I created my handler like this : Then with android studio, I use volley to create a JSONObject (&
Solution 1:
My guess of the table definition.
SQL> create table android_anime(
2 name varchar2(200),
3 genres varchar2(200),
4 season number,
5 nb_episode number,
6* rating number);
Table ANDROID_ANIME created.
Never used Volley but here's basic cUrl
## anime-lowercase
curl -X "POST" "https://apex.oracle.com/pls/apex/dbtools/test/postAnime" \
-H 'Content-Type: application/json' \
-d $'{
"genres": "G6",
"season": "1",
"name": "anime-99",
"nb_episode": "1",
"rating": "1"
}'
The definition of the rest.

Post a Comment for "How To Make A POST Request With ORDS?"