You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Hi, I just found a bug when trying to create a custom "update" operation for my glossaries. Since the API does not support an update operation what I did as a workaround was to delete first the Glossary and then recreate it with the new entries list.
The problem is that this library has a bug when you make a POST request after a DELETE request, I get the error The Response seems to not be valid JSON.
The BabyMarkt\DeepL\Client needs a way to reset its $curl property after any of those requests. I added these lines just before handling the response and it suddenly worked
Hi, I just found a bug when trying to create a custom "update" operation for my glossaries. Since the API does not support an update operation what I did as a workaround was to delete first the Glossary and then recreate it with the new entries list.
The problem is that this library has a bug when you make a POST request after a DELETE request, I get the error
The Response seems to not be valid JSON.
The
BabyMarkt\DeepL\Client
needs a way to reset its$curl
property after any of those requests. I added these lines just before handling the response and it suddenly workedThe text was updated successfully, but these errors were encountered: