Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare content-type in post header #10

Open
bryanhanna opened this issue Oct 6, 2024 · 2 comments
Open

Declare content-type in post header #10

bryanhanna opened this issue Oct 6, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@bryanhanna
Copy link

Hi thanks for the plugin!
Would it be possible to add the option or do it by default to declare the content type when sending post request to URL?
I'm trying to use the plugin to export the data to a discord bot but it wont accept it unless the has a content type of application/json.

@fatfingers23
Copy link
Owner

Thank you! I'm glad you are enjoying it! I will look at finding some time to add that this week possibly. But will accept any PR that does this functionality by default if the Clanmates Export Type is set to Json. So that is setting the Content-type of the request header to application/json.

@fatfingers23 fatfingers23 added enhancement New feature or request good first issue Good for newcomers hacktoberfest labels Oct 8, 2024
@bryanhanna
Copy link
Author

Thanks a lot thats very helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants