Sign in to follow this  
HailHydra

Need help with an error using Milky Library (Chipotle Checker)

Recommended Posts

Title says it all check code below:

 

 

My line: request.AddHeader("application/json, text/plain");


.AddHeader definition points too

public MilkyRequest AddHeader(string name, string value);

And I get an error that says "No overload for method 'AddMethod' takes 1 argument

  • Like 1

Share this post


Link to post
Share on other sites

here's an advice don't use it

  • Like 1

Share this post


Link to post
Share on other sites

Why not just use xnet making checkers is simple and I think learning it yourself will be way better than using some lib out there

Share this post


Link to post
Share on other sites

prob needs to be

request.AddHeader("HEADERNAME", "HEADERVALUE");

 

Example

request.AddHeader("Content-Type", "application/x-www-form-urlencoded");

 

hope it helps

Share this post


Link to post
Share on other sites

Ask the creator of milky library sure he will help u

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this