Is 2025 the year of API-first development and democratization? Take our annual survey and tell us how you implement APIs across your org.
Explore common security challenges that data engineering teams face. Leverage that to build secure data pipelines with Apache Airflow.
Solution Architect at Persistent System
Joined Jul 2018
Stats
Reputation: | 333 |
Pageviews: | 120.0K |
Articles: | 10 |
Comments: | 5 |
Comments
Jan 20, 2023 · Mukesh Thakur
Hi Roushan K,
This usually happens when you have exceeded the rate limit set by the server. This usually happens when you make too many requests within a certain period of time. Some servers may limit the number of requests you can make in an hour or a day.
If this issue still persist, follow the below steps in order to get successful response.
URL : https://api.openai.com/v1/completions
Header parameter :
Authorization:Bearer your API KEY
Content-Type:application/json
Request Body:
{
"model": "text-davinci-003",
"prompt": "Create a list of 5 advantages of Mulesoft:",
"max_tokens": 150
}
Requested Method : POST
Hope it will help
Jan 18, 2023 · Mukesh Thakur
@Roushan K
import below collection in postman and modify OPENAI_API_KEY and prompt as per your needs.
curl https://api.openai.com/v1/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "text-davinci-003",
"prompt": "",
"temperature": 0.7,
"max_tokens": 256,
"top_p": 1,
"frequency_penalty": 0,
"presence_penalty": 0
}'
Hope it will help
Jan 17, 2023 · Mukesh Thakur
Looks like authentication failed. Check apikey and how do you pass through header. if you could share postman collection or request payload will assist further
Aug 28, 2020 · Mukesh Thakur
When you create mule application. inside resource folder you have create properties or yaml file and keep static details.
Regards,
Mukesh
Jul 03, 2020 · Mukesh Thakur
Thanks Roger,
I would plan to write on setup and use of OpenID Connect between Mulesoft Anypoint and Auth0 soon.For client ID registration please see my other article that may help.