warning: deprecated conversion from string constant to 'char*

Hello a need help,I need help with this I'm new to Arduino and I can not flesh out this error
warning: deprecated conversion from string constant to 'char*'

if (StrContains(HTTP_req, "ajax_inputs")) {
This the code..

if (StrContains(HTTP_req, "ajax_inputs")) {
                       Serial.println("open Ajax"); 
                       // send rest of HTTP header
                       client.println("Content-Type: text/xml");
                       client.println("Connection: keep-alive");
                       client.println();
                       // send XML file containing input states

Hello and welcome,

I don't know what is this function StrContains. Why not use strstr instead ?

That’s a warning and not an error. You can happily ignore it.

Post all your code.

Hellow,
at the end of your code should bee function char StrContains(char *str, char *sfind) with some code.
Replace that function with this one:

bool StrContains(String bufer, String sfind)
{
if( bufer.indexOf(sfind)>=0)
{
return 1;
}
else
{
return 0;
}

}

I hope it will solve your problem.

It is a warning, not an error - and it's a stupid one too. It can be safely ignored.

rademit:
Hellow,
at the end of your code should bee function char StrContains(char *str, char *sfind) with some code.
Replace that function with this one:

bool StrContains(String bufer, String sfind)
{
if( bufer.indexOf(sfind)>=0)
{
return 1;
}
else
{
return 0;
}

}

I hope it will solve your problem.

Totally unrelated - he is not using String class.