python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
FastAPI and Axios POST request misconfiguration
I have a FastAPI backend configured as such:
@app.post("/engines/completions")
async def read_completions(
# engine_id:str,
prompt: Optional[str] = None,
max_tokens: Optional[int...
trisimix
Votes: 0
Answers: 2
PHP - warning generated for variable
I am trying to generate an error message in my HTML if one of these two things are happening, however the appropriate message is displaying the HTML, but I'm also given a warning for having a undefine...

user17476042
Votes: 0
Answers: 3
Make simple POST-Requests with Powershell
I searched the whole web but I guess I overlook something simple.
I want to send a FORM with the Keys "Foo" and the Value "Bar" as POST to URL "api.foobar.com".
In Python...
user2521471
Votes: 0
Answers: 1
How to pass an object (csv file) to HttpClient.PostAsync as a JSON body?
I am doing the test automation of a post request that takes a csv file (form data in postman) and returns a list.
I want to add a csv file as an object in the body of the postasync request in my code....
Wiss
Votes: 0
Answers: 0