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

sendAjaxRequest is not using the url specified in the PhpBrowser module config. #1705

Closed
glumb opened this issue Feb 8, 2015 · 1 comment

Comments

@glumb
Copy link

glumb commented Feb 8, 2015

I'm using $I->sendPOST($entityUrl) from the REST module, which results in a request to [Request] GET /entity. $I->sendAjaxRequest('DELETE', $entityUrl) results in a request to [Request] DELETE http://127.0.0.1:8888/entity. But this is not correct, since the webroot is in a subfolder, specified in the PhpBrowser config.

I'm not sure what is causing this.

@Naktibalda
Copy link
Member

It appears that this issue is fixed already. sentAjaxRequest appends url to baseUrl unless protocol or port is specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants