Welcome Guest, Not a member yet? Register   Sign In
$routes->post on dev mode output <script>
#1

I created a route.
$routes->post('api/item', 'API::add_item');
The code works. But if i use CI_ENVIRONMENT = development, i get the POST reply and a very long <script> tag, 
<script type="text/javascript"  id="debugbar_loader" ...
It disappear if i set CI_ENVIRONMENT = production.
What is that long <script> ?
And how to disable it on development ?
Thanks.
Reply


Messages In This Thread
$routes->post on dev mode output <script> - by cocix - 11-07-2021, 05:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB