Skip to content

Add useragent to curl request#103

Open
vmaury wants to merge 1 commit into
PrestaShop:masterfrom
vmaury:patch-1
Open

Add useragent to curl request#103
vmaury wants to merge 1 commit into
PrestaShop:masterfrom
vmaury:patch-1

Conversation

@vmaury
Copy link
Copy Markdown

@vmaury vmaury commented Nov 8, 2024

In some cases, useragent is null
And when calling a PS API hosted in OVH provider, the request is refused (the HTTP response code is 302)

Questions Answers
Description? Add useragent to curl request, because it's sometimes empty, and the request is refused
Type? misfunction with some providers like OVH

In some cases, useragent is null
And when calling a PS API hosted in OVH provider, the request is refused (the HTTP response code is 302)
@ps-jarvis
Copy link
Copy Markdown

Hello @vmaury!

This is your first pull request on PrestaShop-webservice-lib repository of the PrestaShop project.

Thank you, and welcome to this Open Source community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

2 participants