Bad link url image from wordpress
-
Hi guys,
why I’m retrieving this JSON?{“status”:”ok”,”avatar”:”\/\/www.gravatar.com\/avatar\/7262c3fd8da0cf5939e15239dd1369af?s=150&r=g&d=mm”}
from https://www.dayroma.it/api/user/get_avatar/?user_id=25&type=full
In this JSON the url image is
//www.gravatar.com/avatar/7262c3fd8da0cf5939e15239dd1369af?s=150&r=g&d=mmHow can avoid // at the path beginning?
(I mean to have thhe correct http string not elaborate the wrong string with string manipulation ?? )
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bad link url image from wordpress’ is closed to new replies.